--[[
文件名: me_util.lua
描述: me工具箱
作者: 671643387@qq.com
创建日期: 2025-09-20
]]

local me_util = {}

-- 获取流体
me_util.get_fluid = function(me, name)
    local fluids = me.getFluidsInNetwork()
    for _, fluid in ipairs(fluids) do
        if fluid["name"] == name then
            return fluid
        end
    end
    return nil
end

return me_util
